@extends('admin.layout.index')



@section('content')
<div class="col-md-12">
<div id="page-inner">
	<div class="card-content">
		<form class="col s12" method="post" action="/admin/carousel/update" enctype="multipart/form-data">
			{{ csrf_field() }}
			<div class="input-field col s12" >
				<i class="material-icons prefix">language</i>
		        <input id="" class="validate" type="text" name="url" value="{{ $data['url'] }}">
		        <label for="url" class=""></label>
		    </div>
			<div class="file-field input-field">
				<div style="width:100px;height:100px;border:1px solid #ccc;margin-bottom:10px;margin-left:50px">
		     		<img src="{{ $data['image'] }}" style="height:100px;width:100px">
		     	</div>
		      	<div class="btn">
		       		<span>File</span>
		        	<input type="file" multiple name="image" value="">
		     	</div>
		     	
		      	<div class="file-path-wrapper">
		        	<input class="file-path validate" type="text" name="image" value="{{ $data['image'] }}" placeholder="请插入图片呦！">
		      	</div>
		   	</div>
		  	<input type="hidden" name="id" value="{{ $data['id'] }}">
			<input type="submit" value="修改" style="width:150px;height:50px;font-weight:bold;font-size:16px;color:#333;margin-left:300px">
			<input value="重置"  type="reset" style="width:150px;height:50px;font-weight:bold;font-size:16px;color:red;margin-left:30px">
		</form>
	</div>
</div>
</div>
@endsection